package cc.admin.modules.sys.entity;

import cc.admin.common.aspect.annotation.Dict;
import cc.admin.common.sys.vo.TenantModel;
import cc.admin.poi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description: 模块管理
 * @Author: cc-admin
 * @Date:   2021-12-30
 * @Version: V1.0.0
 */
@Data
@TableName("sys_module")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_module对象", description="模块管理")
public class SysModule extends TenantModel {

	/**主键*/
	@Excel(name = "主键", width = 15)
    @ApiModelProperty(value = "主键")
	private String id;
	/**模块编码*/
	@Excel(name = "模块编码", width = 15)
    @ApiModelProperty(value = "模块编码")
	private String moduleCode;
	/**模块名称*/
	@Excel(name = "模块名称", width = 15)
    @ApiModelProperty(value = "模块名称")
	private String moduleName;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @Dict(dicCode = "yes_no")
    @ApiModelProperty(value = "状态")
	private String status;
	/**模块首页地址*/
	@Excel(name = "模块首页地址", width = 15)
    @ApiModelProperty(value = "模块首页地址")
	private String url;
	/**模块图片*/
	@Excel(name = "模块图片", width = 15)
    @ApiModelProperty(value = "模块图片")
	private String img;
	/**模块图标*/
	@Excel(name = "模块图标", width = 15)
    @ApiModelProperty(value = "模块图标")
	private String moduleIcon;
	/**模块样式*/
	@Excel(name = "模块样式", width = 15)
    @ApiModelProperty(value = "模块样式")
	private String moduleClass;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15)
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
